package com.iss.ljx.login.repository;

import com.iss.ljx.mybatis.entity.PtMenuEntity;
import com.iss.ljx.mybatis.entity.PtUserEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LoginDao {
    PtUserEntity queryUserInfoByUserName(@Param("username") String username);
    List<String> queryRoleByID(@Param("userUuid") String userUuid);

    List<PtMenuEntity> queryMenuListByUserId(@Param("userUuid")String userUUID, @Param("langId") String langId);

    PtUserEntity queryUserInfoByUserUUid(String userUUID);
}
